<select id="ddlProvince">
    <?php
    for($i = 0; $i <  count($provinces); $i++)
        echo '<option value="'.$provinces[$i]['id'].'">'.$provinces[$i]['vi_name'].'</option>';

    ?>
</select>